package com.example.demo.utils;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
@TableName("CarModel")
public class CarModel {

    @TableId(value = "carModelID", type = IdType.INPUT)
    private String carModelID;

    @TableField("cartype")
    private String carType;

    @TableField("brand")
    private String brand;

    @TableField("price")
    private float price;

    public String getCarModelID() {
        return carModelID;
    }

    public void setCarModelID(String carModelID) {
        this.carModelID = carModelID;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}
